package com.hy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 科室对象 big_dep
 * 
 * @author ruoyi
 * @date 2025-03-07
 */
@TableName("big_dep")
@Accessors(chain = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BigDep implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 大科室编号 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 科室名 */
    @TableField("name")
    private String name;

    /** 科室描述 */
    @TableField("description")
    private String description;

    /** 科室医生人数 */
    @TableField("doctors_num")
    private Long doctorsNum;

    /** $column.columnComment */
    @TableField("hospital_id")
    private Long hospitalId;
    private String hospitalName;


    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;


    private Hospital hospital;
}
